﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Brain.Logic.AI;
using Brain;
using Brain.Logic3D.AI;
using Brain.Logic3D.PathFinding;

namespace Demos
{
    public class FightingAction : IAIAction
    {
        public FightingAction()
        {
        }

        public void Update(IArtificialIntelligence AI)
        {
        }

        public void Look(IArtificialIntelligence AI, IArtificialIntelligence anotherAI)
        {
            (AI as ArtificialIntelligence3D).SetTargetPosition(anotherAI.Position);
        }
    }
}
